import request from "@/config/index.js"

/**
 * login
 * @param data
 */
// 获取学生成长记录API
export const getStuRows = () => {
  return request.get('/api/StuRecordConttroller/GetRows');
};

// 删除学生成长记录API
export const delStuRows = (id) => {
  return request.post(`/api/StuRecordConttroller/DelRecrod?recordid=${id}`);

};

// 添加学生成长记录API
export const addStuRows = (data) => {
  return request.post('/api/StuRecordConttroller/SaveRecord', data);
};


// 保存学生遴选成长记录API
export const saveSelectStuRows = (ids) => {
  return request.post(`/api/StuRecordConttroller/SelectRecord?ids=${ids}`);
};

// 获取学生信息
export const getStuInfo = () => {
  return request.get(`/api/StuRecordConttroller/GetStuRowbySid`);
}
